﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLyDuAn.GUI
{
    public partial class FrmMain : DevComponents.DotNetBar.Office2007RibbonForm
    {
        FrmLogin frmLogin = new FrmLogin();
        public FrmMain()
        {
            InitializeComponent();
            ribbonTabItem2.Visible = false;
            ribbonTabItem3.Visible = false;
            Help.Visible = false;
            //ribbonTabItem4.Visible = false;
        }
        public void showControl()
        {
            ribbonTabItem2.Visible = true;
            ribbonTabItem3.Visible = true;
            Help.Visible = true;
        }
        private void FrmMain_Load(object sender, EventArgs e)
        {

        }

        private void ribbonBar1_ItemClick(object sender, EventArgs e)
        {

        }

        private void buttonItem1_Click(object sender, EventArgs e)
        {

        }

        private void buttonItem14_Click(object sender, EventArgs e)
        {
            FrmLogin frmLogin = new FrmLogin();
            frmLogin.Visible = true;
            frmLogin.Show();
        }

        private void ribbonTabItem4_Click(object sender, EventArgs e)
        {

        }
    }
}
